package com.vegetable.modules.entity.finance.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 增补实录po类
 * </p>
 *
 * @author wangruijie
 * @since 2024-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FinancialDoneMainPO对象", description="增补实录po类")
public class FinancialDoneMainPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long accountId ;

    @ApiModelProperty(value = "账户名称")
    private String accountName;

    /**
     * 收款明细
     */
    @ApiModelProperty(value = "明细")
    private List<FinancialDoneDetailPO> items;

}
